package com.sailfish.springbootdemo.service.db2;

import com.sailfish.springbootdemo.pojo.Result;
import com.sailfish.springbootdemo.pojo.db2.MailAdGroup;
import com.sailfish.springbootdemo.pojo.db2.MailAddress;
import com.sailfish.springbootdemo.pojo.db2.MailDepartment;
import com.sailfish.springbootdemo.pojo.db2.MailGroupParam;

import java.util.List;
import java.util.Map;

public interface ThirdApiService {

    Result sendMail(String username, String title, String mailContentTitle, String mailContent, String templateCode, List<MailAddress> mailAddressList, Map<String, byte[]> attachments, List<MailAdGroup> mailAdGroupList, List<MailDepartment> mailDepartmentList, List<MailGroupParam> mailGroupParamList, Integer priority, String sendMail) throws Exception;
}
